<%--
 - Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 - 
 - This software is the confidential and proprietary information of ETCORE Labs. 
 - You shall not disclose such confidential information and shall use it only
 - in accordance with the terms of the license agreement you entered into
 - with ETCORE Labs.
 -
 - Support can be obtained from support forums at:
 - http://www.etcore.com/
 -
 - @author: ETCORE GroupTalk developers
 -
 --%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://jakarta.apache.org/taglibs/core" prefix="c"%>
<c:set var="error_msg" value='${msg}' />
<c:set var="error_title" value="ERROR" />
<html><head><title><c:out value="${error_title}"/>-<c:out value="${context.title }"/></title></head>
<meta http-equiv="refresh" content="5;URL="/";">
<script>
function  showErrorWin()  {
   
	var errorWinFrame=document.getElementById("errorWin"); 
 
	var leftOffset=(document.body.clientWidth-320)/2;
	errorWinFrame.style.left=leftOffset; 
	var topOffset=(document.body.clientHeight-80)/2;
	errorWinFrame.style.top=topOffset; 
	errorWinFrame.style.display="block";
	
}</script>
<body>

<div id=errorWin style="position: absolute; display:none;border:1px solid orange ">
<table cellSpacing=0 cellPadding=0 width=300   align=center  >
	<tr bgcolor="orange">
		<td  width=100% > 
<c:if test="${empty  error_msg && empty context.error_msg}"><c:set var='error_msg' value='error' /></c:if>	 
		<img src="/group/images/winlogo.gif"   border=0/><b><c:out value="${context.msg_error }" /></b>
		 
			 
		 </td>
		<td width=25 align=right>
		 <img src="/group/images/close.gif"
			 onclick="window.parent.location.href='/';"   class=close border=0 /> 
		</td>
	</tr>
	<tr>
		<td style="height: 10px;"></td>
	</tr>


	<tr>
		<td   colspan=2 align=center width=100% style="height:30px;">
		<div onclick="window.parent.location.href='/';"   style="cursor:pointer;font-weight:bold;color:red;" ><c:out value="${error_msg}" default="${context.error_msg }"  /></div>  
		
		
		</td></tr>
	</table>
 
</div>
 <script>showErrorWin();</script>
</body>